
@import '../home/banner.scss';

#app .main_content .bgWhite.bannerArticle{
  padding: 16px 24px 24px;
  overflow: hidden;
  >p{
    color: #303030;
    font-size: 14px;
    margin-bottom: 24px;
  }
  >div{
    height: calc(100% - 24px);
    overflow: scroll;
  }
  .articleItem{
    border: 1px solid $color_white;
    border-radius: 4px;
    position: relative;
    width: 24%;
    height: 0;
    padding-bottom: 18%;
    float: left;
    // height: 288px;
    margin-right: 1.3%;
    overflow: hidden;
    cursor: pointer;
    &:nth-of-type(4n){
      margin-right: 0;
    }
    
    margin-bottom: 24px;
    .el-button{
      position: absolute;
      top: 16px;
      right: 16px;
      color: $dialogTitle;
      border-color: $color_white;
      border-radius: 4px;
      &:hover{
        color: $mainColor;
        border-color: $mainColor;
        background-color: rgba(222,224,219, 0.2);
      }
    }
    &:hover{
      border-color: $mainColor;
    }
    .el-image{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      
      transition:  transform .6s ease-out ;
      &:hover{
        @include scale(1.12,1.12);
      }
      
     
    }
  }
  .add{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
    position: absolute;
    width: 100%;
    
    p.tip{
      color: $color_white;
      font-size: 14px;
      margin-top: 16px;
      padding: 0 24px;
    }
    i{
      font-size: 40px;
      color: $color_white;
    }
    &:hover{
      p.tip{color: $mainColor;}
      i{color: $mainColor; }
      border-color: $mainColor;
    }
  }
  .dialog_banner.dialog_index .el-dialog{
    height: 88.7%;
  }
  .upload-banner{
    width: 320px;
    height: 240px;
    border: 1px dashed $color_white;
    border-radius: 8px;
    text-align: center;
    line-height: 240px;
    position: relative;
    margin: 0 auto;
    .pop_container{
      // img{
      //   height: 100%;
      //   object-fit: cover;
     
      // }
    }
  }
  .el-form .el-form-item__label{
    width: auto;
  }
  .el-form .el-form-item__content{
    width: calc(100% - 95px);
  }
  .el-form{
    height: auto;
  }
  .el-form .el-form-item{
    &:last-of-type{
      margin-bottom: 0px;
    }
  }
  .el-dialog .el-dialog__body{
    padding: 24px 48px 14px;
  }

}

